package com.wangxinyuchuan.demo.template;

/**
 * @author wangxinyuchuan
 * @date 2023/4/9 11:39 PM
 */
public class Main {
    public static void main(String[] args) {
        AbstractDisplay charDisplay = new CharDisplay('H');
        AbstractDisplay stringDisplay = new StringDisplay("Hello,World!!");
        charDisplay.display();
        stringDisplay.display();
    }
}
